package com.boatAnchorAssistant.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.TableComment;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import nirvana.core.domains.ann.AccEntity;
import nirvana.core.domains.entity.DomainBaseEntity;
import nirvana.core.domains.enums.EntityType;

/**
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2024/11/15 15:44
 * 通知
 */
@Data
@TableName(autoResultMap = true)
@AccEntity(value = "通知",type = EntityType.SERVICE_ENTITY)
@TableComment("通知")
public class Notice extends DomainBaseEntity<Notice> {

    /**
     * 标题
     */
    @Column(type = MySqlTypeConstant.VARCHAR, length = 255, comment = "标题")
    private String title;

    /**
     * 内容
     */
    @Column(type = MySqlTypeConstant.TEXT, comment = "内容")
    private String content;
}
